Skip to content

allow installation with symfony 8#500

Merged
dbu merged 3 commits into3.xfrom
sf8
Mar 24, 2026
Merged

allow installation with symfony 8#500
dbu merged 3 commits into3.xfrom
sf8

Conversation

@dbu
Copy link
Member

@dbu dbu commented Dec 3, 2025

Q A
Branch? 3.x
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets -
License MIT
Doc PR -

test with symfony 8

@Djoys
Copy link

Djoys commented Mar 23, 2026

Hello, just for your information, the current (3.1.2) version of CMF routing bundle, and probably all version not compatible with symfony 8, are also not compatible with symfony 7.4 as Symfony has already removed XmlFileLoader in this version.

The requires should be modified to exclude the 7.4 version of symfony (it is currently set to symfony/framework-bundle: ^6.4 || ^7.0)

Thanks for this very useful bundle !

@alexander-schranz
Copy link
Contributor

alexander-schranz commented Mar 23, 2026

@Djoys thats not the case XML loaders still work on 7.4, else it would be a bc break which symfony does not in minor versions. PS: framework-bundle is just the glue part, make sure to use symfony/dependency-injection and symfony/config of 7.4.

@dbu
Copy link
Member Author

dbu commented Mar 24, 2026

what might be happening is that the symfony/dependency-injection component gets installed at version 8. i'd recommend to use symfony flex and configure that you want symfony 7.4. the flex component makes sure that every symfony component - including the indirect dependencies - is installed at the same version to prevent such hickups.

also, i picked this up again to hopefully be able to merge it soon.

@dbu dbu force-pushed the sf8 branch 3 times, most recently from eda1ab7 to 3f0a6ac Compare March 24, 2026 13:37
@dbu dbu force-pushed the sf8 branch 6 times, most recently from 67d6fc6 to 3d14c5a Compare March 24, 2026 14:38
@dbu dbu merged commit 62cdeda into 3.x Mar 24, 2026
8 checks passed
@dbu dbu deleted the sf8 branch March 24, 2026 14:41
@dbu
Copy link
Member Author

dbu commented Mar 24, 2026

regarding constraint for doctrine/persistence: why do you think we should have one in this bundle? i think it should be up to orm and phpcr-odm to define what they need.

@Djoys
Copy link

Djoys commented Mar 25, 2026

@dbu, @alexander-schranz,

Many thanks for your answers. You are right, i got confused (and also forgot the basics of Symfony BC policy).

I also see that 3.2.0 has been released and compatible with sf 8. Great job and thanks you !

@dbu
Copy link
Member Author

dbu commented Mar 25, 2026

no worries. you asking reminded me that there was still open business here :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants